<!--
@WIN-DENY:*
@WIN-ALLOW:EVENT_SYSTEM_ALERT*
@UIA-WIN-DENY:*
@UIA-WIN-ALLOW:SystemAlert*
-->
<!DOCTYPE html>
<html>
<body>
<div id="a" aria-label="a" role="alert" style="display:none">This is an alert</div>
<div id="b" aria-label="b" role="alertdialog" aria-live="polite" style="display:none">This is an alert dialog</div>
<div id="c" aria-label="c" role="alert" aria-hidden="true">This is an alert</div>
<div id="d" aria-label="d" role="alert" aria-hidden="true">This alert shouldn't fire an event</div>
<script>
  function go() {
    document.getElementById('a').style.display = "block";
    document.getElementById('b').style.display = "block";
    document.getElementById('c').setAttribute('aria-hidden', 'false');
}
</script>
</body>
</html>
